package com.hangxiang.approval.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hangxiang.approval.common.ApplyPeopleInsertCommon;
import com.hangxiang.approval.common.ApplyPeopleUpdateCommon;
import com.hangxiang.approval.common.IntegerCommon;
import com.hangxiang.approval.entity.ApplyPeople;
import com.hangxiang.approval.vo.ApplyPeopleVo;

/**
 * 用户申请抄送记录表(ApplyPeople)表服务接口
 *
 * @author makejava
 * @since 2020-11-25 16:28:48
 */
public interface ApplyPeopleService extends IService<ApplyPeople> {

    /**
     * 通过ID查询单条数据
     *
     * @param common 主键
     * @return 实例对象
     */
    ApplyPeopleVo queryById(IntegerCommon common);


    /**
     * 新增数据
     *
     * @param applyPeopleInsertCommon 实例对象
     * @return 实例对象
     */
    Integer insertApplyPeople(ApplyPeopleInsertCommon applyPeopleInsertCommon);

    /**
     * 修改数据
     *
     * @param applyPeopleUpdateCommon 实例对象
     * @return 实例对象
     */
    Integer updateApplyPeople(ApplyPeopleUpdateCommon applyPeopleUpdateCommon);


}